import axios from '~/axios'
export function getUserList(params) {
    return axios({
        url: '/user/list',
        method: 'get',
        params
    })
}
export function getcaptcha(params) {
    return axios({
        url: '/user/captcha',
        method: 'get',
        params
    })
}
export function gettyperList(params) {
    return axios({
        url: '/type/list',
        method: 'get',
        params
    })
}
export function gethuiyuanList(params) {
    return axios({
        url: '/huiyuan/list',
        method: 'get',
        params
    })
}
export function getOrderList(params) {
    return axios({
        url: '/order/list',
        method: 'get',
        params
    })
}
export function orderchangeStatus(params) {
    return axios({
        url: '/order/changeStatus',
        method: 'get',
        params
    })
}
export function changeStatus(params) {
    return axios({
        url: '/xinxi/changeStatus',
        method: 'get',
        params
    })
}
export function getLeixingList(params) {
    return axios({
        url: '/leixing/list',
        method: 'get',
        params
    })
}
export function getxinxiList(params) {
    return axios({
        url: '/xinxi/list',
        method: 'get',
        params
    })
}
export function dowlon(params) {
    return axios({
        url: '/dowlon',
        method: 'get',
        params,
        responseType: 'blob'
    })
}
export function getapplyList(params) {
    return axios({
        url: '/apply/list',
        method: 'get',
        params
    })
}
export function getziChanList(params) {
    return axios({
        url: '/ziChan/list',
        method: 'get',
        params
    })
}
export function getUSerInfo() {
    return axios({
        url: '/user/getUSerInfo',
        method: 'get',

    })
}
export function deptDelete(id) {
    return axios({
        url: '/dept/delete/' + id,
        method: 'get',

    })
}
export function ziChanUpdate(data) {
    return axios({
        url: '/ziChan/update',
        method: 'post',
        data

    })
}
export function prodyctEcharts(params) {
    return axios({
        url: '/product/echarts',
        method: 'get',
        params

    })
}
export function applyAdd(data) {
    return axios({
        url: '/apply/add',
        method: 'post',
        data

    })
}
export function ziChanDelete(id) {
    return axios({
        url: '/ziChan/delete/' + id,
        method: 'get',

    })
}
export function ziChanAdd(data) {
    return axios({
        url: '/ziChan/add',
        method: 'post',
        data

    })
}
export function deptAdd(data) {
    return axios({
        url: '/dept/add',
        method: 'post',
        data

    })
}
export function deptUpdate(data) {
    return axios({
        url: '/user/update',
        method: 'post',
        data

    })
}
export function typeUpdate(data) {
    return axios({
        url: '/type/update',
        method: 'post',
        data

    })
}
export function huiyuanUpdate(data) {
    return axios({
        url: '/huiyuan/update',
        method: 'post',
        data

    })
}
export function gonggaoUpdate(data) {
    return axios({
        url: '/gonggao/update',
        method: 'post',
        data

    })
}
export function yimiaoUpdate(data) {
    return axios({
        url: '/yimiao/update',
        method: 'post',
        data

    })
}
export function jiankangUpdate(data) {
    return axios({
        url: '/jiankang/update',
        method: 'post',
        data

    })
}
export function jiezhongUpdate(data) {
    return axios({
        url: '/jiezhong/update',
        method: 'post',
        data

    })
}
export function yuyueUpdate(data) {
    return axios({
        url: '/yuyue/update',
        method: 'post',
        data

    })
}
export function chongwuUpdate(data) {
    return axios({
        url: '/chongwu/update',
        method: 'post',
        data

    })
}
export function leixingUpdate(data) {
    return axios({
        url: '/leixing/update',
        method: 'post',
        data

    })
}
////////////////11111111111
export function getBanjiList() {
    return axios.get("/banji/list")
}
export function logging(data) {
    return axios({
        url: '/user/login',
        method: 'post',
        data
    })
}
export function update(data) {
    return axios({
        url: '/user/update',
        method: 'post',
        data
    })
}
export function shenhe(params) {
    return axios({
        url: '/shenhe',
        method: 'get',
        params
    })
}
export function deleteee(params) {
    return axios({
        url: '/deletee',
        method: 'get',
        params
    })
}
export function loginsucc(params) {
    return axios({
        url: '/user/getInfo',
        method: 'get',
        params
    })
}
export function zwList(params) {
    return axios({
        url: '/zwList',
        method: 'get',
        params
    })
}
export function dowon(params) {
    return axios({
        url: '/dowlon',
        method: 'get',
        responseType: 'blob',
        params
    })
}
export function deletee(id) {
    return axios({
        url: '/user/delete/' + id,
        method: 'delete',
    })
}
export function typedeletee(id) {
    return axios({
        url: '/type/delete/' + id,
        method: 'delete',
    })
}
export function productdeletee(id) {
    return axios({
        url: '/product/delete/' + id,
        method: 'delete',
    })
}
export function huiyuandeletee(id) {
    return axios({
        url: '/huiyuan/delete/' + id,
        method: 'delete',
    })
}
export function gonggaodeletee(id) {
    return axios({
        url: '/gonggao/delete/' + id,
        method: 'delete',
    })
}
export function jiankangdeletee(id) {
    return axios({
        url: '/jiankang/delete/' + id,
        method: 'delete',
    })
}
export function jiezhongdeletee(id) {
    return axios({
        url: '/jiezhong/delete/' + id,
        method: 'delete',
    })
}
export function yuyuedeletee(id) {
    return axios({
        url: '/yuyue/delete/' + id,
        method: 'delete',
    })
}
export function yimiaodeletee(id) {
    return axios({
        url: '/yimiao/delete/' + id,
        method: 'delete',
    })
}
export function chongwudeletee(id) {
    return axios({
        url: '/chongwu/delete/' + id,
        method: 'delete',
    })
}
export function leixingDelete(id) {
    return axios({
        url: '/leixing/delete/' + id,
        method: 'delete',
    })
}
export function xinxiDelete(id) {
    return axios({
        url: '/xinxi/delete/' + id,
        method: 'delete',
    })
}
export function getStudents(params) {
    return axios({
        url: '/user/getStudents',
        method: 'get',
        params
    })
}
export function pingfen(params) {
    return axios({
        url: '/zuoye/pingfen',
        method: 'get',
        params
    })
}
export function pigaiList(params) {
    return axios({
        url: '/zuoye/pigaiList',
        method: 'get',
        params
    })
}
export function xgStatus(params) {
    return axios({
        url: '/zuoye/xgStatus',
        method: 'get',
        params
    })
}
export function zuoyeChakan(params) {
    return axios({
        url: '/zuoye/chakan',
        method: 'get',
        params
    })
}
export function add(params) {
    return axios({
        url: '/zuoye/add',
        method: 'get',
        params
    })
}
export function chakan(params) {
    return axios({
        url: '/banji/chakan',
        method: 'get',
        params
    })
}
export function reg(data) {
    return axios({
        url: '/user/reg',
        method: 'post',
        data
    })
}
export function productreg(data) {
    return axios({
        url: '/product/reg',
        method: 'post',
        data
    })
}
export function tyoereg(data) {
    return axios({
        url: '/type/reg',
        method: 'post',
        data
    })
}
export function huiyuanreg(data) {
    return axios({
        url: '/huiyuan/reg',
        method: 'post',
        data
    })
}
export function regGonggao(data) {
    return axios({
        url: '/gonggao/add',
        method: 'post',
        data
    })
}
export function regjiankang(data) {
    return axios({
        url: '/jiankang/add',
        method: 'post',
        data
    })
}
export function regjiezhong(data) {
    return axios({
        url: '/jiezhong/add',
        method: 'post',
        data
    })
}
export function regyuyue(data) {
    return axios({
        url: '/yuyue/add',
        method: 'post',
        data
    })
}
export function regYimiao(data) {
    return axios({
        url: '/yimiao/add',
        method: 'post',
        data
    })
}
export function regchongwu(data) {
    return axios({
        url: '/chongwu/add',
        method: 'post',
        data
    })
}
export function leixingAdd(data) {
    return axios({
        url: '/leixing/add',
        method: 'post',
        data
    })
}
export function xinxiAdd(data) {
    return axios({
        url: '/xinxi/add',
        method: 'post',
        data
    })
}
export function wanjie(data) {
    return axios({
        url: '/xinxi/wanjie',
        method: 'get',
        params: data
    })
}
export function getproductList(data) {
    return axios({
        url: '/product/list',
        method: 'get',
        params: data
    })
}
export function updateProduct(data) {
    return axios({
        url: '/product/update',
        method: 'post',
        data
    })
}
export function getProductById(id) {
    return axios({
        url: '/product/' + id,
        method: 'get',
    })
}
export function gonggaoList(data) {
    return axios({
        url: '/gonggao/list',
        method: 'get',
        params: data
    })
}
export function jiankangList(data) {
    return axios({
        url: '/jiankang/list',
        method: 'get',
        params: data
    })
}
export function jiezhongList(data) {
    return axios({
        url: '/jiezhong/list',
        method: 'get',
        params: data
    })
}
export function yuyueList(data) {
    return axios({
        url: '/yuyue/list',
        method: 'get',
        params: data
    })
}
export function yimiaoList(data) {
    return axios({
        url: '/yimiao/list',
        method: 'get',
        params: data
    })
}
export function chongwuList(data) {
    return axios({
        url: '/chongwu/list',
        method: 'get',
        params: data
    })
}